package com.atguigu.orderservice.client;

import com.atguigu.queryVo.CourseOrderVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;

@Component
@FeignClient("service-edu")
public interface CourseClient {
    @PostMapping("/eduservice/coursefront/getCourseInfoOrder/{courseId}")
    public CourseOrderVo  getCourseInfoOrder(@PathVariable("courseId") String courseId);
}
